home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / disk / misc / Mtools207.lha / Mtools-2.0.7 / docs / Mread.doc < prev    next >
Encoding:
Text File  |  1994-05-27  |  1.5 KB  |  48 lines

  1.  
  2. NAME
  3.        mread - low level read (copy) an MSDOS file to Unix
  4.  
  5. SYNOPSIS
  6.        mread [ -tnm ] msdosfile unixfile
  7.  
  8.        mread [ -tnm ] msdosfile [ msdosfiles... ] unixdirectory
  9.  
  10. DESCRIPTION
  11.        In  the  first form, mread copies the specified MSDOS file
  12.        to the named Unix file.  The second form  of  the  command
  13.        copies multiple MSDOS files to the named Unix directory.
  14.  
  15.        Mread will allow the following command line options:
  16.  
  17.        t      Text  file transfer.  Mread will translate incoming
  18.               carriage return/line feeds to line feeds.
  19.  
  20.        n      No warning.  Mread will  not  warn  the  user  when
  21.               overwriting an existing file.
  22.  
  23.        m      Preserve the file modification times.
  24.  
  25.        If  the  target  file already exists, and the -n option is
  26.        not in effect, mread asks whether or not to overwrite  the
  27.        file.
  28.  
  29.        MSDOS subdirectory names are supported with either the '/'
  30.        or '\' separator.  The use of the '\' separator  or  wild-
  31.        cards  will  require the names to be enclosed in quotes to
  32.        protect them from the shell.
  33.  
  34.        The mcd command may be used to establish  the  device  and
  35.        the  current working directory (relative to MSDOS), other-
  36.        wise the default is A:/.
  37.  
  38.        Mread returns 0 on success, 1 on utter failure,  or  2  on
  39.        partial failure.
  40.  
  41. SEE ALSO
  42.        mcd(1), mcopy(1), mtype(1), mwrite(1)
  43.  
  44. BUGS
  45.        Unlike  MSDOS,  the destination directory may not be omit-
  46.        ted.
  47.  
  48.